<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>管理员登陆</title>
		<link href="<%=basePath %>/style/admincss.css" style="text/css" rel="stylesheet"/>
	</head>
	<body>
		<div id="header">
			<img src="<%=basePath %>/images/logo.jpg"/>
		</div>	
		<div id="content">
			<div style="padding-top:15px;height:50px;padding-left:100px;">
				<h2>达芙妮官方购物网后台管理系统</h2>
				<img src="<%=basePath %>/images/login.png" style="float:left"/>
			</div>			
			<div id="login">
				<div id="login_pic">
					<img src="<%=basePath %>/images/log_in.png"/>
				</div>
				<form method="post" action="l_login.jsp">
					<div class="text">
						<%
							String code = request.getParameter("code");
							if("100".equals(code)){
						 %>
						<div style="color:red">请输入正确的用户名和密码</div>
						<%}else if("102".equals(code)){
						 %>
						<div style="color:red">请您登陆</div>
						<%}else if("103".equals(code)){ 
						%>
						<div style="color:red">您已经安全退出</div>
						<%} %>
						用户名：<input type="text" name="username"/>
						<br/>
						<br/>
						密&nbsp;&nbsp;&nbsp;码：<input type="password" name="userpwd"/>
					</div>
					<div class="button">
						<input type="submit" value="登陆"/>
					</div>
				</form>
			</div>
		</div>			
	</body>
</html>
